<template>
    <div>
        文章发布/编辑页
        <div>aid:{{ aid }}</div>
        <div>type:{{ type }}</div>
    </div>
</template>

<script setup lang="ts">
import { useRouteQuery } from '@vueuse/router'
/**
 * 当前编辑的文章id
 */
const aid = useRouteQuery<string>('aid', '')
/**
 * 发布的为文章类型
 */
const type = useRouteQuery<string>('type', '')
</script>

<style lang='scss' scoped></style>